package com.example.terminalservice.mapper;

import com.example.terminalservice.pojo.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 28142
* @description 针对表【sys_role】的数据库操作Mapper
* @createDate 2023-08-05 09:42:19
* @Entity com.example.terminalservice.pojo.Role
*/
public interface RoleMapper extends BaseMapper<Role> {
    List<Role> getRolesByUser(Integer userId);
}




